package com.qf.fallback;

import org.springframework.stereotype.Component;

/**
 * 自定义的降级处理实现类
 * @author lixu
 */
public class CustomerFallback {


    /**
     *  降级处理的方法
     * @param id
     * @param throwable   CustomerFallback.fallbackList
     * @return
     */
    public static String fallbackList(Integer id,Throwable throwable) {
        return "自定义的降级处理实现类:fallbackList：id:" + id;
    }
}
